package cn.hubujyjs.mooc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程
 * </p>
 *
 * @author Huang Jintao
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Course extends BaseEntity{

    /**
     * 课程讲师ID
     */
    private Long teacherId;

    /**
     * 课程专业ID
     */
    private Long subjectId;

    /**
     * 课程标题
     */
    private String title;

    /**
     * 课程封面图片路径
     */
    private String imgSrc;

    /**
     * 课程视频地址
     */
    private String videoSrc;

    /**
     * 浏览数量
     */
    private Long viewCount;

    /**
     * 评论数量
     */
    private Long commentCount;
}
